package com.sen.design.principle.singleresponsibility;

public class WalkBird extends Bird {
    public WalkBird(String name) {
        super(name);
    }

    @Override
    public void mainMoveMode() {
        System.out.println(super.getName() + "用脚走");
    }


}
